# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=thumbdrives
pkgver=0.3.1
pkgrel=0
pkgdesc="Mass storage and iso emulator"
url="https://git.sr.ht/~martijnbraam/thumbdrives"
arch="noarch !s390x !mips !mips64" # Blocked by libhandy
license="MIT"
depends="python3 py3-gobject3 py3-xdg py3-setuptools gtk+3.0 libhandy"
makedepends="py3-setuptools glib-dev libhandy-dev meson ninja"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/thumbdrives/archive/$pkgver.tar.gz"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="2eae87efc239f5de6e704d4dc51b9e68b67219d1d0f86444d219408387b81e8f57cc67cfa53eca0fbdeb0d317de37e9ec8650e31c7731319070b422cdd17cbd3  thumbdrives-0.3.1.tar.gz"
